package com.ysg.http.data.entity.game;

import android.os.Parcel;
import android.os.Parcelable;

public class GameEntity implements Parcelable {
    private String area;// 福建 广东
    private String createtime;// 2023-10-19 11:00:12
    private String genius;// 导游 美食
    private String id;// 1,
    private String nick;// 蒙先生

    private String onlinestatus;// 2,
    private String pic;// http://zhiyuapphn.oss-cn-shenzhen.aliyuncs.com/image/6efb99d96bca427a89334f56e56803f1.jpg
    private String price;// 100.00,
    private String score;// 4.5
    private String sex;// 1,

    private String sing;// 我很可爱
    private String tag;// 天真 可爱
    private String trippic;// http://zhiyuapphn.oss-cn-shenzhen.aliyuncs.com/image/6efb99d96bca427a89334f56e56803f1.jpg,http://zhiyuapphn.oss-cn-shenzhen.aliyuncs.com/image/6efb99d96bca427a89334f56e56803f1.jpg
    private String userId;// 733
    private String tengxuncode;// 733

    protected GameEntity(Parcel in) {
        area = in.readString();
        createtime = in.readString();
        genius = in.readString();
        id = in.readString();
        nick = in.readString();

        onlinestatus = in.readString();
        pic = in.readString();
        price = in.readString();
        score = in.readString();
        sex = in.readString();

        sing = in.readString();
        tag = in.readString();
        trippic = in.readString();
        userId = in.readString();
        tengxuncode = in.readString();
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(area);
        parcel.writeString(createtime);
        parcel.writeString(genius);
        parcel.writeString(id);
        parcel.writeString(nick);

        parcel.writeString(onlinestatus);
        parcel.writeString(pic);
        parcel.writeString(price);
        parcel.writeString(score);
        parcel.writeString(sex);

        parcel.writeString(sing);
        parcel.writeString(tag);
        parcel.writeString(trippic);
        parcel.writeString(userId);
        parcel.writeString(tengxuncode);
    }

    public static final Creator<GameEntity> CREATOR = new Creator<GameEntity>() {
        @Override
        public GameEntity createFromParcel(Parcel in) {
            return new GameEntity(in);
        }

        @Override
        public GameEntity[] newArray(int size) {
            return new GameEntity[size];
        }
    };


    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getGenius() {
        return genius;
    }

    public void setGenius(String genius) {
        this.genius = genius;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getOnlinestatus() {
        return onlinestatus;
    }

    public void setOnlinestatus(String onlinestatus) {
        this.onlinestatus = onlinestatus;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSing() {
        return sing;
    }

    public void setSing(String sing) {
        this.sing = sing;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTrippic() {
        return trippic;
    }

    public void setTrippic(String trippic) {
        this.trippic = trippic;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTengxuncode() {
        return tengxuncode;
    }

    public void setTengxuncode(String tengxuncode) {
        this.tengxuncode = tengxuncode;
    }
}
